<html>
  <head>
     <title>Market data statistic</title>
  </head> 
  <body>
    <p>Welcome to Market data statistic!</p>
    <p>Mails are received</p>	
    <ul> 
       {% for mail in mails %}
            <li>Date: {{mail.date}}, sender: {{mail.sender}}, subject: {{mail.subject}}<br>
		Body:<br>
                {{mail.body}}
       {% endfor %}
    </ul>
  </body>
</html>